﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net;

namespace OpenDynDnsChanger.Service.Helper
{
    internal class IPHelper
    {
        internal static string GetIP()
        {
            WebClient client = new WebClient();

            try
            {
                return client.DownloadString("http://ip.schredder.me/");
            }
            catch (Exception ex)
            {
                return "";
            }
            
        }
    }
}
